# import pymysql
#
#
# class MysqlConfig:
#     def __init__(self):
#         self.host = "117.72.167.161"
#         self.port = 3309
#         self.user = "root"
#         self.password = 138241
#         self.database = "lgy-account"
#         self.charset = "utf8mb4"
#         self.conn = pymysql.connect(host=self.host, port=self.port, user=self.user, password=self.password,
#                                     database=self.database, charset=self.charset)
#
#
#
#     # 输入sql语句来操作数据库
#     def execute_sql(self, sql):
#         cursor = self.conn.cursor()
#         cursor.execute(sql)
#         self.conn.commit()
#         return cursor
#
#
#
#     def close_conn(self):
#         self.conn.close()


